package com.shuangti.food.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuangti.food.bean.FoodNutritionTbl;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FoodNutritionMapper extends BaseMapper<FoodNutritionTbl> {

    @Delete("delete from food_nutrition_db where food_id = #{food_id}")
    void deleteUserById(@Param("food_id") Long food_id);
}
